from multiprocessing import Queue

queue = Queue(5)
print(queue.qsize())

if not queue.full():
    queue.put("a")

print(queue.qsize())

if not queue.empty():
    print(queue.get())

print(queue.qsize())
